﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Dazaza.UI.Mvc.Models
{
    public class MasterViewModel
    {
        /// <summary>
        /// ctor
        /// </summary>
        public MasterViewModel()
        {
            this.HeaderInfo = new HeaderInfo();
            this.PagerInfo = new PagerInfo();
            this.AllCategory = new CategoryList();
            this.CategoryList = new List<CategoryCommon>();
        }

        /// <summary>
        /// html head 部分的
        /// </summary>
        public HeaderInfo HeaderInfo { get; set; }

        /// <summary>
        /// 分页信息
        /// </summary>
        public PagerInfo PagerInfo { get; set; }

        /// <summary>
        /// 所有分类
        /// </summary>
        public CategoryList AllCategory { get; set; }

        /// <summary>
        /// 当前导航显示的分类列表
        /// </summary>
        public List<CategoryCommon> CategoryList { get; set; }

    }
}